package com.qhs.sys.service;

import com.qhs.sys.entity.SmsLog;
import com.qhs.sys.exception.BusinessException;

/**
 * 短信消息服务
 *
 * Created by xinchao on 2016/11/30 0030.
 */
public interface SmsService {


    /**
     * 保存短信记录
     * @param smsLog
     * @return
     */
    public int insertSms(SmsLog smsLog) throws BusinessException;

    /**
     * 验证短信验证码
     *
     * @param phone
     * @param verifyCode
     * @param codeType
     * @return
     */
    public String verifySmsCode(String phone,String verifyCode,String codeType) throws BusinessException;

}
